<template>
  <cwCommon :type="type" :financeData="form" @clear="clearForm" :name="cw">
    <el-form-item label="押金名称">
      <el-input v-model="form.name" placeholder="押金名称"></el-input>
    </el-form-item>

    <el-form-item label="押金金额">
      <el-input v-model="form.money" placeholder="押金金额" @focus="$cls" @blur="$fmoney"></el-input>
    </el-form-item>
  </cwCommon>
</template>

<script>
    import cwCommon from "./cwCommon";
    export default {
        name: "cwYaJin",
        data(){
            return {
                type: 7,
                form: {
                    name: '',
                    money: '0.00',
                },
              cw:'押金'
            }
        },
        components: {cwCommon},
      methods:{
          clearForm(){
            this.form.name = '';
            this.form.money = '0.00';
          },
      },
    }
</script>

<style scoped>

</style>
